package com.hexinfo.dmpro.sparing.dto;

import com.hexinfo.dmpro.component.comparison.enums.TableContrastEnums;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * distcp操作,hdfs路径
 *
 * @author zax
 * @date 2023-08-29 17:55:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HdfsDistcpDTO {

    //源hdfs地址
    private String sourceAddress;
    //目标hdfs地址
    private String targetAddress;

    //源-->备份
    public String getSouToTar(){
        return sourceAddress + " " + targetAddress;
    }

}
